package org.dromara.product.domain.vo;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.dromara.product.domain.KyStockOutRecords;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.dromara.product.domain.bo.KyStockOutRelationsBo;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;
import java.util.List;


/**
 * 出库记录视图对象 ky_stock_out_records
 *
 * @author kuyu
 * @date 2023-12-29
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = KyStockOutRecords.class)
public class KyStockOutRecordsVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    @ExcelProperty(value = "编号")
    private Long id;

    /**
     * 用户
     */
    @ExcelProperty(value = "用户")
    private Long mid;

    /**
     * 出库编码
     */
    @ExcelProperty(value = "出库编码")
    private String stockNo;

    /**
     * 仓库
     */
    @ExcelProperty(value = "仓库")
    private Long warehouseId;

    /**
     * 操作平台
     */
    @ExcelProperty(value = "操作平台")
    private String platform;

    /**
     * 出库类型id
     */
    @ExcelProperty(value = "出库类型id")
    private Integer outTypeId;

    /**
     * 客户id
     */
    @ExcelProperty(value = "客户id")
    private Integer customerId;

    /**
     * 图片
     */
    @ExcelProperty(value = "图片")
    private String images;

    /**
     * 调拨关联入库表id
     */
    @ExcelProperty(value = "调拨关联入库表id")
    private Long transInId;

    /**
     * 0申请,1审核中,2完成,-1拒绝
     */
    @ExcelProperty(value = "0申请,1审核中,2完成,-1拒绝")
    private Integer status;

    /**
     * 审核等级
     */
    @ExcelProperty(value = "审核等级")
    private Integer approveLevel;

    /**
     *
     */
    @ExcelProperty(value = "")
    private Long printNum;

    /**
     * 提交记录
     */
    @ExcelProperty(value = "提交记录")
    private String recordInfo;

    /**
     *
     */
    @ExcelProperty(value = "")
    private String mark;

    /**
     *
     */
    @ExcelProperty(value = "")
    private Date deletedAt;

    /**
     *
     */
    @ExcelProperty(value = "")
    private String custom;

    /**
     *
     */
    @ExcelProperty(value = "")
    private Long transId;

    /**
     *
     */
    @ExcelProperty(value = "")
    private Long fromWarehouseId;

    /**
     *
     */
    @ExcelProperty(value = "")
    private Long fromZoneId;

    @TableField(exist = false)
    private List<KyStockOutRelationsVo> outList;

}
